package com.itrip.service.impl;

import com.itrip.dao.ex.LoginMapper;
import com.itrip.pojo.ItripUser;
import com.itrip.service.LoginService;
import com.itrip.vo.LoginView;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LoginServiceImpl implements LoginService {
    @Resource
    private LoginMapper loginMapper;
    @Override
    public ItripUser login(LoginView loginView) {
        return loginMapper.login(loginView);
    }
}
